package a01;

public class PaintablePanel extends SizedPanel {

    private static final long serialVersionUID = 1L;
    Paintable pa;

    public PaintablePanel(Paintable pa) {
	this.pa = pa;
    }

    public void paintComponent(java.awt.Graphics g) {
	pa.paintTo(g);
    }
}
